package org.yoki.tool.core.exception;

import org.yoki.tool.core.exception.enums.BasicExceptionStatus;

public class BasicException extends Exception{


    public BasicException(Integer code , String msg){
        super("code : " + code + " , msg : " + msg);
    }

    public BasicException(BasicExceptionStatus status){
        this(status.getCode() , status.getMsg()) ;
    }

}
